package com.woniuxy.light_smart.service;

import com.woniuxy.light_smart.dto.FacDto;
import com.woniuxy.light_smart.entity.Facility;
import com.woniuxy.light_smart.vo.FacEnvironmentVo;
import com.woniuxy.light_smart.vo.FacVo;
import com.woniuxy.light_smart.vo.LightPoleVo;

import java.util.List;

public interface FacilityService {
    int deleteByPrimaryKey(Long id);


    int insertSelective(Facility record);

    Facility selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Facility record);

    List<LightPoleVo> getAllState(List<LightPoleVo> all);

    List<FacVo> queryFac1(FacDto facDto);
    List<FacEnvironmentVo> queryFac6(FacDto facDto);
    int updateFac(FacDto facDto);

    List<FacVo> queryFac2(FacDto facDto);
    List<FacVo> queryFac7(FacDto facDto);
    List<FacVo> queryFac3(FacDto facDto);
    List<FacVo> queryFac4(FacDto facDto);
    List<FacVo> queryFac5(FacDto facDto);
    List<FacVo> queryFac8(FacDto facDto);
}
